package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.RestPtnAlarm;
import com.tjmc.tiomscore.model.RestPtnAlarmExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RestPtnAlarmMapper {
    long countByExample(RestPtnAlarmExample example);

    int deleteByExample(RestPtnAlarmExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RestPtnAlarm record);

    int insertSelective(RestPtnAlarm record);

    List<RestPtnAlarm> selectByExample(RestPtnAlarmExample example);

    RestPtnAlarm selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RestPtnAlarm record, @Param("example") RestPtnAlarmExample example);

    int updateByExample(@Param("record") RestPtnAlarm record, @Param("example") RestPtnAlarmExample example);

    int updateByPrimaryKeySelective(RestPtnAlarm record);

    int updateByPrimaryKey(RestPtnAlarm record);
}